﻿<UserControl x:Class="RK.Wpf3DSampleBrowser.Util.WpfDirectXSampleHost"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="700" d:DesignWidth="500">
    <DockPanel LastChildFill="True">
        <!-- Define main button bar -->
        <StackPanel Orientation="Horizontal"
                    Height="50"
                    DockPanel.Dock="Top">
            <Button Margin="10" Width="125"
                    Click="OnCmdToggleWireframeClick"
                    Content="Toggle Wireframe" />
            <Button Margin="10" Width="125"
                    Click="OnCmdToggleTargetClick"
                    Content="Toggle Host" />
        </StackPanel>
        
        <!-- Define the tab control for some analysis -->
        <TabControl DockPanel.Dock="Bottom"
                    Height="300">
            <TabItem Header="Performance">
                
            </TabItem>
        </TabControl>
        
        <!-- Define host for content itself -->
        <ContentControl Name="m_view3DHost" />
    </DockPanel>
</UserControl>
